package com.mgl.movesprite;

import org.andengine.entity.scene.Scene;

import com.mgl.movesprite.game.factory.GameObjectFactory;
import com.mgl.movesprite.game.factory.GameTextureManager;
import com.mgl.movesprite.game.model.Level;

public abstract class EntityLevelBase implements IEntityLevel{
	
	protected GameObjectFactory gameObjectFactory;
	
	public EntityLevelBase(GameObjectFactory gameObjectFactory){
		this.gameObjectFactory =  gameObjectFactory;
	}
	
	@Override
	public abstract void update(float pSecondsElapsed, Level level);

	public GameObjectFactory getGameObjectFactory() {
		return gameObjectFactory;
	}

	public void setGameObjectFactory(GameObjectFactory gameObjectFactory) {
		this.gameObjectFactory = gameObjectFactory;
	}
	
	@Override
	public void detachFromScene(Scene scene) {
	
		
	}

	@Override
	public void attachToScene(Scene scene) {
	
		
	}
}
